package com.antdesignbackend.backend.mapper;

import com.antdesignbackend.backend.entity.Quarantine;
import com.antdesignbackend.backend.entity.entityVo.QuarantineVo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;


@Component
public interface QuarantineMapper extends BaseMapper<Quarantine> {
    List<QuarantineVo> search(@Param(Constants.WRAPPER) QueryWrapper<QuarantineVo> queryWrapper, Page<QuarantineVo> page);
    Integer count(@Param(Constants.WRAPPER) QueryWrapper<QuarantineVo> queryWrapper);
}
